package dnet

import (
	"strings"
)

func Split2(s string, sep string) (string, string) {
	params := strings.SplitN(s, sep, 2)
	if len(params) == 1 {
		return params[0], ""
	}

	return params[0], params[1]
}
